﻿# -*- coding:utf-8 -*-
#
try:
    from django.conf.urls import patterns, url, include
except:
    from django.conf.urls.defaults import *

#echo.views
urlpatterns = patterns('echo.views',
    url(r'^$',                  'echo_index',       name="echo_index"),
    url(r'^result/(\d+)/$',     'result',           name="result"),
    url(r'^toftp/(\d+)/$',      'publish_ftp',      name="publish_ftp"),
    url(r'^authors/$',          'authors_list',     name="authors_list"),
    url(r'^items/$',            'items_list',       name="items_list"),    
    url(r'^item/(\d+)/edit/$',  'edit_item',        name="echo_edit_item"),    
    url(r'^author/(\d+)/item/(\d+)/edit/$','edit_author',      name="echo_edit_author"),    
    url(r'^edit/(\d+)/$',        'data_edit',       name="echo_data_edit"),    
)
